Patch by GM: Making implicit conversion to bool explicit in <ios> and <__locale> git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@193085 91177308-0d34-0410-b5e6-96231b3b80d8 
diff --git a/include/__locale b/include/__locale index 3bf617d..2073e1b 100644 --- a/include/__locale +++ b/include/__locale 
@@ -512,7 +512,7 @@  _LIBCPP_ALWAYS_INLINE  bool is(mask __m, char_type __c) const  { - return isascii(__c) ? __tab_[static_cast<int>(__c)] & __m : false; + return isascii(__c) ? (__tab_[static_cast<int>(__c)] & __m) !=0 : false;  }    _LIBCPP_ALWAYS_INLINE